home *** CD-ROM | disk | FTP | other *** search
/ Qoole for Quake / Qoole for Quake (USA) / Qoole for Quake (USA).bin / Tutorial / HTML / QUBE.ZIP / README.LIN < prev    next >
Encoding:
Text File  |  1996-11-05  |  634 b   |  25 lines

  1. I can't say that I have run this, but it compiled cleanly under
  2. Linux with the Digital UNix makefile as soon as I made some changes 
  3. to the comments in the code:
  4.  
  5. 1) gcc doesnt like // style comments, so I converted them with this
  6.    shell script:
  7.  
  8. #!/bin/bash
  9. for FILE in *.[ch] ; do
  10.         gawk '/\/\// {gsub(/\/\//,"/*");$0=$0" */"} {print}' < $FILE > foo
  11.         mv foo $FILE
  12. done
  13.  
  14. 2) surface.c had a copule of nested comments like this:
  15.  
  16.         /* this is /* a comment */ really */
  17.  
  18.    and gcc would try to parse the "really".  I removed the first instence if
  19.    the "*/"
  20.  
  21. Let me know how this program runs.
  22.  
  23. - set@netcom.com
  24.  
  25.